<h2><?php echo $this->title; ?></h2>
<?php echo $this->search; ?>
<hr />
<p><a class="button" href="<?php echo $this->baseUrl(); ?>/article/edit">Add article</a></p>
<hr />
<div class="list">    
<?php if($this->articles != null) {?>  
        <?php foreach ($this->articles as $article) { ?> 
                <ul>
                    <li>
                        <?php echo $article->Id; ?>
                        <a href ="<?php echo $this->baseUrl(); ?>" id="">
                            <?php echo $article->Name?> 
                        </a>
                        <a href="<?php echo $this->baseUrl(); ?>/article/edit/id/<?php echo $article->id ?>"><img src="<?php echo $this->baseUrl(); ?>/styles/assets/edit.png" /></a>
                        </a>
                        <a href="<?php echo $this->baseUrl(); ?>/article/delete/id/<?php echo $article->id ?>"><img src="<?php echo $this->baseUrl(); ?>/styles/assets/cross.png" /></a>
                        <ul>
                            <li>Creationdate:                        
                                <?php echo $article->Creationdate?>   
                            </li>
                            <li>Modifieddate:                       
                                <?php echo $article->Modifieddate?>   
                            </li>
                        </ul>
                    </li> 
                    </li>
                </ul>
        <?php } ?>
<?php } ?>
</div>